﻿<?xml version="1.0" encoding="utf-8" ?>
<mvc:insert name="Layout" xmlns:mvc="http://www.eos.de">
  <mvc:replace name="Content">
    <h2>#{Login}</h2>

    <div>
      #{LoginSubtitle}
    </div>

    <div class="box" mvc:id="logoutBox">
      #{AlreadyLoggedIn} <a href="?Logout=true">#{Logout}</a>
    </div>
    
    <div class="box" mvc:id="formBox">
      <form mvc:id="form" action="">
        <p mvc:id="error" class="error">#{LoginErrorMessage}</p>
        
        <table width="100%">
          <colgroup>
            <col width="30%" />
            <col width="70%" />
          </colgroup>
          <tr>
            <td>
              <a href="javascript: void(0);" onclick="Change('usernameInfo')">
                <img class="info_icon" src="~/Templates/Images/Info.png" alt="InfoIcon" />
              </a>
              <label>#{Username}</label>
              <span class="info_tooltip" id="usernameInfo">#{UsernameDescription}</span>
            </td>
            <td>
              <input class="form_text" type="text" name="username"/>
            </td>
          </tr>
          <tr>
            <td>
              <a href="javascript: void(0);" onclick="Change('passwordInfo')">
                <img class="info_icon" src="~/Templates/Images/Info.png" alt="InfoIcon" />
              </a>
              <label>#{Password}</label>
              <span class="info_tooltip" id="passwordInfo">#{PasswordDescription}</span>
            </td>
            <td>
              <input class="form_text" type="password" name="password"/>
            </td>
          </tr>
          <tr>
            <td></td>
            <td>
              <input type="checkbox" name="stayLoggedIn" /> Angemeldet bleiben?
            </td>
          </tr>
          <tr>
            <td></td>
            <td>
              <input class="form_submit" type="submit" value="Anmelden" />
            </td>
          </tr>
        </table>
      </form>
      <div style="font-size: 10px;">#{ImportantFields}</div>
    </div>
  </mvc:replace>
</mvc:insert>